<template>
  <div id="user-info">
    <a href=" " class="login-registration">
      <slot name="user-icon">
        <div class="user-head">
          <img src="~/assets/img/person/huge.jpg" alt="">
        </div>
      </slot>
      <div class="login-info">
          <div>登录 / 注册</div>
        <div class="phone">
          <slot name="user-phone">暂无绑定手机号</slot>
        </div>
      </div>
    </a>
  </div>
</template>

<script>
 export default {
  name: "UserInfo"
 }
</script>
<style scoped>
  #user-info {
    background-color: var(--color-tint);
    padding: 15px;
  }

  #user-info .user-head {
    /* margin: 60; */
    /* margin-top: 60px; */
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 30px;
    text-align: center;
  }
  #user-info .user-head img {
    width: 100%;
    height: 100%;
    border-radius: 30px;
  }
  .login-registration {
    display: flex;
  }
  .left {
    float: left;
  }

  #user-info .login-info {
    color: #fff;
    margin: 10px 0 0 10px;
  }

  #user-info .login-info .phone {
    font-size: 13px;
    margin-top: 5px;
    font-weight: 300;
  }
	</style>